//
//  FMSQLiteManager.h
//  WeEsion
//
//  Created by reylen on 15/12/24.
//  Copyright © 2015年 fdauto. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>

@interface FMSQLiteManager : NSObject{
    sqlite3* db;
}

+ (FMSQLiteManager *)sharedManager;

- (BOOL) openSQLiteDBWithPath:(NSString *) filePath;
- (void) closeSQLiteDB;

- (NSArray *) queryTableFromDB;
- (NSArray *) queryWithSQL:(NSString *) sqlStr;
- (NSArray *) queryPragmaFromTable:(NSString *) table;

@end
